@import "app.component.less";

@cell-title-width: 210pt;

//.a-arrow-right {
//  background-image: url(@arrow-right-base64);
//  background-repeat: no-repeat;
//  background-size: 100%;
//}

@prefixer a {
  .star-important {
    &::after {
      content: "*";
      color: @text-color-red;
    }
  }

  .star-warning {
    &::after {
      content: "*";
      color: @text-color-orange;
    }
  }

  .m-b-20 {
    margin-bottom: 20pt;
  }

  .m-b-25 {
    margin-bottom: 25pt;
  }

  .m-b-30 {
    margin-bottom: 30pt;
  }

  .gutter {
    height: 20pt;
  }

  .color-gray-300 {
    color: @text-color-gray-300;
  }

  .text-300 {
    #default.font-style(300)
  }

  .text-400 {
    #default.font-style(400)
  }

  .text-500 {
    #default.font-style(500)
  }

  .color-def {
    color: @text-color-default;
  }
}



.label() {
  border: 2pt solid transparent;
  border-radius: 4pt;
}

@prefixer u {
  .line1 {
    height: 2pt;
    background-color: #ececec;
    display: block;
  }

  .dash1 {
    height: 0;
    border-bottom: 2pt dashed #dcdcdc;
    display: block;
  }

  .dotted1 {
    height: 0;
    border-bottom: 2pt dotted #dcdcdc;
    display: block;
  }

  .label-red {
    .label();
    border-color: @text-color-red;
    color: @text-color-red;
    text-align: center;
    background-color: rgba($color, 0.1);
  }

  .label-green {
    .label();
    border-color: @text-color-default;
    color: @text-color-default;
    text-align: center;
    background-color: rgba($color, 0.1);
  }

  .text-def {
    color: @text-color-default;
  }

  .text-gray {
    color: @text-color-gray;
  }

  .text-light-dark {
    color: @text-color-light-dark;
  }


  .btn-def {
    .btn();
    color: #ffffff;
    background-color: @text-color-green;
    border-radius: 10pt;

    button[disabled]:not([type])& {
      color:@text-color-gray-300;
      background-color:#ececec;
      box-shadow: none;
    }
  }

  .btn-reject {
    .btn();
    color: @text-color-red;
    background-color: #ffffff;
    border-color: @text-color-gray-600;
    border-radius: 10pt;

    button[disabled]:not([type])& {
      color:@text-color-gray-300;
      background-color:#ececec;
      box-shadow: none;
    }
  }

  .btn-reject-hover {
    background-color: darken(#ffffff, 10%);
  }

  .btn-def-hover {
    background-color: @btn-default-hover-bg;
  }

  .btn-def-sha {
    .btn-def();
    background-color: #21C57C;
    box-shadow: 0 6pt 16pt 0 rgba(@btn-default-bg, 0.3);
  }

  .btn-def-green {
    .btn-def();
    background-color: #21C57C;

    button[disabled]:not([type])& {
      color:rgba(#ffffff, .9);
      background-color:rgba(@text-color-default, .5);
    }
  }

  .btn-def-green-sha {
    .btn-def();
    background-color: #21C57C;
    box-shadow: 0 6pt 16pt 0 rgba(58, 252, 166, 0.44);

    button[disabled]:not([type])& {
      color:rgba(#ffffff, .9);
      background-color:rgba(@text-color-default, .5);
      box-shadow:0 6pt 16pt 0 rgba(58, 252, 166, 0.44);
    }
  }

}



